home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / disk / bakup / mrbk220.lha / Docs / WildStar.doc < prev    next >
Text File  |  1995-02-21  |  1KB  |  37 lines

  1. WildStar - enable asterisk (*) filename wildcards
  2. Author:    Mark R. Rinfret
  3.  
  4. Usage:       WildStar         - reports current state
  5.            WildStar ON      - enables asterisk wildcards
  6.            WildStar OFF     - disables asterisk wildcards
  7.  
  8. This program controls the use of asterisk (*) as a valid wildcard
  9. character for the AmigaDOS filename pattern matching routines. When
  10. enabled, the asterisk is equivalent to the #? combination.
  11.  
  12. Copy this program to your C: directory or other directory containing
  13. program files. It will typically be called from your S:user-startup
  14. file.
  15.  
  16. To test its operation, do the following:
  17.  
  18.     wildstar off
  19.     LIST pat=*
  20.     wildstar on
  21.     LIST pat=*
  22.  
  23. You should notice that nothing is listed with the first invocation of
  24. the LIST command.  The second LIST command should display whatever
  25. files are in the current directory.  Also worthy of mention is the
  26. fact that the asterisk character is also (still) recognized as the
  27. console device name by some programs, even after it is enabled as a
  28. wildcard character.  The LIST command is an example of this.
  29.  
  30.     LIST *
  31.  
  32. will generate an error message, while
  33.  
  34.     LIST #?
  35.  
  36. will not.  That's why we used "pat=*" in the above examples.
  37.